using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.WebApiWrite.DTO
{
    /// <summary>
    /// 库位信息新增/修改数据传输对象
    /// </summary>
    public class StoragelocationDTO
    {
        /// <summary>
        /// 库位编号（修改时必填）
        /// </summary>
        public int? StoragelocationId { get; set; }

        /// <summary>
        /// 库位编码（后端自动生成，前端无需传值）
        /// </summary>
        public string? StoragelocationCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string StoragelocationName { get; set; }

        /// <summary>
        /// 库位容量
        /// </summary>
        public string StoragelocationCapacity { get; set; }

        /// <summary>
        /// 库位状态
        /// 1.启用
        /// 2.禁用
        /// </summary>
        public int StoragelocationState { get; set; }

        /// <summary>
        /// 库位内容
        /// </summary>
        public string StoragelocationContent { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int StoragelocationScore { get; set; }

        /// <summary>
        /// 主管编号
        /// </summary>
        public int SupervisorId { get; set; }

        /// <summary>
        /// 数据状态（1:草稿 2:已提交）
        /// </summary>
        public int DataStatus { get; set; } = 2;

        /// <summary>
        /// 操作人名称
        /// </summary>
        public string OperatorName { get; set; }
    }
}

